Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update x-tailwindcss package to vue 3 #1656

Merged
merged 9 commits into from
Nov 20, 2024

Conversation

diegopf
Copy link
Contributor

@diegopf diegopf commented Nov 20, 2024

This pull request focuses on refactoring Vue components in the packages/x-tailwindcss/demo directory to use the Composition API and defineComponent from Vue 3. This allow us to remove the peer dependency to vue 2 for the x-tailwincdss package.

BREAKING CHANGE: The showcase is no longer exported as Vue components but as web application.

@diegopf diegopf requested a review from a team as a code owner November 20, 2024 08:31
Copy link
Contributor

@annacv annacv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, if I am not wrong, there is no need to copy copyCssClassesToClipboard and removeClassPrefix as methods because we bind them when we use the XdsBaseShowcase component.
I tested removing those methods in xds-input.vue, xds-highlight.vue & xds-icon.vue and everything is working fine.

@diegopf diegopf merged commit ee2f06f into main Nov 20, 2024
4 checks passed
@diegopf diegopf deleted the feat/bump-to-vue3-tailwindcss-plugin branch November 20, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants